/**    
 * <p>Copyright (c) Shanghai TY Technology Co., Ltd. All Rights Reserved.</p>
 *
 * @FileName: 	FileWebApplicationProperties.java    
 * @Description:FileWebApplicationProperties  
 * @author: 	user
 * @Creat: 		2017年6月8日  
 *
 * Modification History:
 * Data			Author		Version		   Description
 * -------------------------------------------------------------
 * 2017年6月8日		user		
 */
package com.sigmatrix.h5.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName: FileWebApplicationProperties
 */
@Configuration
@ConfigurationProperties(prefix = "h5.file.web")
public class FileWebProperties {
    /**
     * 文件服务器的cdn host, 例如 https://te-cdn.sao.so/
     */
    private String cdnHost;

    private String defaultContainerName;
    
    /**
     * blob中 图片路径前缀
     */
    private String prefix;

    /**
     * @return cdnHost
     */
    public String getCdnHost() {
        return cdnHost;
    }

    /**
     * @param cdnHost
     *            the cdnHost to set
     */
    public void setCdnHost(String cdnHost) {
        this.cdnHost = cdnHost;
    }

    /**
     * @return defaultContainerName
     */
    public String getDefaultContainerName() {
        return defaultContainerName;
    }

    /**
     * @param defaultContainerName
     *            the defaultContainerName to set
     */
    public void setDefaultContainerName(String defaultContainerName) {
        this.defaultContainerName = defaultContainerName;
    }

	public String getPrefix() {
		return prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

}
